Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

const2bit: avoid heap allocations #48

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Conversation

sago35
Copy link
Member

@sago35 sago35 commented Oct 19, 2024

This PR removes heap allocation from const2bit.
It is considered safe since it essentially uses the same approach as #46.

@sago35
Copy link
Member Author

sago35 commented Oct 19, 2024

I will revise the commit message to align with the others, so I'll mark it as a draft for now. The code is already complete, so it's fine to review it if you'd like.

@sago35 sago35 force-pushed the avoid-heap-allocs-const2bit branch from b133511 to 5c0c89f Compare October 19, 2024 11:12
@sago35 sago35 changed the title Avoid heap allocations const2bit: avoid heap allocations Oct 19, 2024
@sago35 sago35 marked this pull request as ready for review October 19, 2024 11:12
@sago35
Copy link
Member Author

sago35 commented Oct 19, 2024

Now ready for review.

@deadprogram
Copy link
Member

Thanks for the improvement @sago35 now merging.

@deadprogram deadprogram merged commit 5132d27 into dev Oct 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants